home *** CD-ROM | disk | FTP | other *** search
- 10 poke53281,0:poke53280,0
- 20 print"[147] the automatic levelcreator for orbit"
- 25 print" [163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163]"
- 30 print"this program calculates up to 50 extra"
- 35 print"levels for the game orbit in max. 50"
- 40 print"minutes (depending on the levels shape).";
- 45 print"before calculation starts you have to"
- 50 print"select one of 12 possible basic-shapes"
- 55 print"and the available time for each level."
- 60 print"make sure to have one free block on your";
- 65 print"leveldisk for each level to generate."
- 66 print"old levels on your disk will be replaced";
- 67 print"by the new ones automatically."
- 70 print"special thanks to ingo wolf for the"
- 75 print"orbit preview and greetings to all the"
- 80 print"guys of cyberstyle."
- 83 print" press space"
- 85 get a$:if a$<>" " then 85
- 100 print"[147]auto-levelcreator by mdg for orbit by cs"
- 110 print"number of levels to create ";
- 120 input a
- 125 if a>50 or a<1 then 110
- 130 :
- 131 dim s,t(a):sl=1:tl=2000
- 132 for t=0 to a-1
- 133 print "level:"t+1
- 134 print "shape no. (1-12 1=easy 12=hard) ";sl;chr$(13)"[145]"tab(32);
- 135 input s(t)
- 136 if s(t)<1 or s(t)>12 then 134
- 137 print "time (1000-9000) ";tl;chr$(13)"[145]"tab(17);
- 138 input t(t)
- 139 if t(t)<1000 or t(t)>9000 then 136
- 140 sl=s(t):tl=t(t):next t
- 141 :
- 148 for t=0 to a-1
- 149 print"scratching old level";t+1
- 150 aa$=mid$(str$(t),2,2)
- 160 if len(aa$)=1 then aa$="0"+aa$
- 170 close1:open 1,8,15,"s:he"+aa$:close 1
- 180 print"generating new level..."
- 185 poke 55296+38,1:poke 55296+39,1
- 190 poke780,s(t)-1:sys 49152
- 195 print"saving new level..."
- 200 open1,8,1,"he"+aa$
- 210 print#1,chr$(220)chr$(190);
- 220 sys 49152+3
- 225 for g=0 to 3
- 230 print#1,chr$(val(mid$(str$(t(t)),g+2,1)));
- 235 next g
- 240 close 1
- 250 next t
-